include_directories(${CMAKE_SOURCE_DIR}/libonvif/generated)
add_executable(DSONVIF discover.cpp onvif_comm.h)
target_compile_definitions(dsonvif PUBLIC WITH_OPENSSL WITH_DOM WITH_NONAMESPACES)
target_link_libraries(DSONVIF PUBLIC dsonvif  /usr/local/lean/openssl-3.0.16/lib64/libcrypto.so /usr/local/lean/openssl-3.0.16/lib64/libssl.so)